package com.colin.commentservice.service;

import com.colin.bean.Comment;
import com.colin.response.R;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CommentService {
    R<List<Comment>> getCommentById(Long videoId);

    R<Boolean> addComment(Long videoId, Comment comment, String loginId);

    R<Boolean> deleteComment(Long commentId, String loginId);

    R<Boolean> addChildComment(Long videoId, Long commentId, Comment comment, String loginId);

    R<Boolean> likeComment(Long videoId, Long commentId, String loginId);
}
